﻿Public Class NhanVienBL
    Private nvDA As NhanVienDA

    Public Sub New()
        nvDA = New NhanVienDA
    End Sub

    Public Function GetData(ByVal dieukien As String) As List(Of NhanVienDT)
        Return nvDA.GetData(dieukien)
    End Function

    Public Function InUp(ByVal nv As NhanVienDT, ByVal flag As Boolean) As Boolean
        Return nvDA.InUp(nv, flag)
    End Function

    Public Function Delete(ByVal nv As NhanVienDT)
        Return nvDA.Delete(nv)
    End Function

    Public Function GetID()
        Return nvDA.GetID()
    End Function
End Class
